package com.lunago.agent.mapper;

import com.lunago.agent.pojo.entity.PromptRole;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PromptRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PromptRole record);

    int insertSelective(PromptRole record);

    PromptRole selectByPrimaryKey(Integer id);

    PromptRole selectByName(String role);

    int updateByPrimaryKeySelective(PromptRole record);

    int updateByPrimaryKeyWithBLOBs(PromptRole record);

    int updateByPrimaryKey(PromptRole record);
}